#include "SList.h"
//
//void TestSlist1()
//{
//	/*SLTNode* n1 = BuySLTNode(1);
//	SLTNode* n2 = BuySLTNode(2);
//	SLTNode* n3 = BuySLTNode(3);
//	SLTNode* n4 = BuySLTNode(4);
//	n1->next = n2;
//	n2->next = n3;
//	n3->next = n4;
//	n4->next = NULL;
//
//	int n = 10;*/
//	SLTNode* plist = CreateSList(5);
//	SLTprint(plist);
//}

void TestSlist2()
{
	SLTNode* plist = CreateSList(5);
	SLTprint(plist);

	//SLTNode* plist = CreateSList(5);
	//SLTprint(plist);


	SLTPushBack(&plist, 100);
	//SLTPushBack(&plist, 200);
	//SLTPushBack(&plist, 300);

	//SLTprint(plist);
	//
	//SLTPopBack(&plist);
	//SLTprint(plist);


	//SLTPopBack(&plist);
	//SLTprint(plist);

	//SLTPopBack(&plist);
	//SLTprint(plist);


}

int main()
{

	TestSlist2();
	return 0;
}